package com.stm.bi.dto.query;

import com.stm.bi.model.DatatableQuery;
import com.stm.framework.annotation.ReqParam;
import com.stm.bi.constant.PaisiConstants;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zpy
 * @date 2025/8/28 9:09
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class PolicyEvolveDatatableQuery extends DatatableQuery {

    @ReqParam(label = "年份")
    private String year;

    @ReqParam(label = "政策类型", required = true, dictType = PaisiConstants.POLICY_OBJECTIVE)
    private String type;

    @ReqParam(label = "政策Id")
    private Long policyId;

    @ReqParam(label = "目标")
    private Boolean objective = Boolean.FALSE;

    @ReqParam(label = "是否导出")
    private Boolean exportable = Boolean.FALSE;
}
